<html>
<head><meta charset="utf-8"><title>crate hierarchy · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/crate.20hierarchy.html">crate hierarchy</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="164480881"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/crate%20hierarchy/near/164480881" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/crate.20hierarchy.html#164480881">(Apr 29 2019 at 19:23)</a>:</h4>
<p>So I am trying to write out the revisted crate hierarchy. I think it would look something like this:</p>
<ul>
<li>chalk -- exports the solver and contains the "rustc -&gt; logic' mapping (<code>chalk-solve</code> today)<ul>
<li>chalk-ir, chalk-rust-ir -- as today, though these could plausibly be merged into one crate</li>
<li>chalk-engine -- as today</li>
</ul>
</li>
<li>chalki -- chalk interpreter (<code>bin.rs</code> today)</li>
<li>chalk-test -- chalk tests and testing harness (<code>chalk</code> today)</li>
<li>chalk-parse -- used by chalki and chalk-test</li>
</ul>
<p>One question mark is the chalk-macros crate. I think this could be replaced with some standard logging crate, except for the (rather invaluable) services it has for nesting and things. <span class="user-mention" data-user-id="124288">@oli</span> -- didn't you have some crate that "bolted on" nesting to std::log? I wonder if we could actually go further and really improve our debugging infrastructure</p>



<a name="164482027"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/crate%20hierarchy/near/164482027" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/crate.20hierarchy.html#164482027">(Apr 29 2019 at 19:38)</a>:</h4>
<p>Jup, I have <a href="https://crates.io/crates/log_settings" target="_blank" title="https://crates.io/crates/log_settings">https://crates.io/crates/log_settings</a> which so far only has a single setting that you can modify: indentation levels</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>